package com.example.mvt;

import java.io.Serializable;

public class Employee implements Serializable {
    	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
		private int id;
        private String name;
        private String phone;
        private String position;
        private String date;

        public Employee(int i, String n, String p, String po, String d) {
        	super();
        	id = i;
            name = n;
            phone = p;
            position = po;
            date = d;
        }
        public Employee() {
        	super();
        }
        public int getId() {
                return id;
        }
        public void setId(int i) {
        	id = i;
        }
        public void setDate(String d){
        	
        	date = d;
        }
        public String getDate(){
        	
        	return date;
        }
        public String getPhone(){
        	return phone;
        }
        public void setPhone(String p){
        	phone = p;
        }
        public String getName() {
                return name;
        }
        public void setName(String n) {
                name = n;
        }
        public String getPosition() {
                return position;
        }
        public void setPosition(String po) {
                position = po;
        }
    	@Override
    	public String toString(){
    		return name;
    	}
}
